package com.ruoyi.bizsys.service;

import java.util.List;

import com.ruoyi.bizsys.domain.ApplyAppList;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * appList绑定Service接口
 *
 * @author african-loan
 * @date 2021-12-30
 */
public interface IApplyAppListService extends IService<ApplyAppList>{
    /**
     * 查询appList绑定
     *
     * @param id appList绑定ID
     * @return appList绑定
     */
    public ApplyAppList selectApplyAppListById(Long id);

    /**
     * 查询appList绑定列表
     *
     * @param applyAppList appList绑定
     * @return appList绑定集合
     */
    public List<ApplyAppList> selectApplyAppListList(ApplyAppList applyAppList);

    /**
     * 新增appList绑定
     *
     * @param applyAppList appList绑定
     * @return 结果
     */
    public int insertApplyAppList(ApplyAppList applyAppList);

    /**
     * 修改appList绑定
     *
     * @param applyAppList appList绑定
     * @return 结果
     */
    public int updateApplyAppList(ApplyAppList applyAppList);

    /**
     * 批量删除appList绑定
     *
     * @param ids 需要删除的appList绑定ID
     * @return 结果
     */
    public int deleteApplyAppListByIds(Long[] ids);

    /**
     * 删除appList绑定信息
     *
     * @param id appList绑定ID
     * @return 结果
     */
    public int deleteApplyAppListById(Long id);

    List<Integer> getIdsByCustNo(String userId);

    String get7DaysAppList(String userId);

    int selectApplistCount(String id, String userId);
}
